home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 December / Chip_2003-12_cd1.bin / program / ctenari / ShiCola / CodePad37.exe / $INSTDIR / Syntax Definitions / python.def < prev    next >
Encoding:
Text File  |  2003-10-17  |  6.7 KB  |  284 lines

  1. object TPersHolder
  2.   P.Name = 'Python'
  3.   P.Extensions.Strings = (
  4.     'Python files (*.py)|*.py')
  5.   P.SyntaxBlocks = <
  6.     item
  7.       Name = 'Default'
  8.       ID = 0
  9.       CaseSensitive = True
  10.       UseMetaSymbol = True
  11.       UseMetaToWrapLines = True
  12.       MetaSymbol = '\'
  13.       FIText = 0
  14.       FIIntNum = 1
  15.       FIFloatNum = 2
  16.       FIHexNum = 3
  17.       FISymbol = 14
  18.       UseSymbols = True
  19.       UseComments = True
  20.       UseSingleLineComments = True
  21.       UseStrings = True
  22.       UseSingleLineStrings = True
  23.       UseMultiLineStrings = True
  24.       UseNumbers = True
  25.       UsePrefixedNumbers = True
  26.       UseSuffixedNumbers = True
  27.       UseMultipleNumSuffixes = False
  28.       UsePrefixedSuffixedNumbers = True
  29.       UsePSNumComposition = False
  30.       UseKeywords = True
  31.       BlockDelimiters = <>
  32.       SingleLineCommentDelimiters = <
  33.         item
  34.           FontID = 4
  35.           LeftDelimiter = '#'
  36.         end>
  37.       SingleLineStringDelimiters = <
  38.         item
  39.           FontID = 5
  40.           LeftDelimiter = #39
  41.           RightDelimiter = #39
  42.         end
  43.         item
  44.           FontID = 6
  45.           LeftDelimiter = '"'
  46.           RightDelimiter = '"'
  47.         end
  48.         item
  49.           FontID = 7
  50.           LeftDelimiter = 'r'#39
  51.           RightDelimiter = #39
  52.         end
  53.         item
  54.           FontID = 7
  55.           LeftDelimiter = 'R'#39
  56.           RightDelimiter = #39
  57.         end
  58.         item
  59.           FontID = 8
  60.           LeftDelimiter = 'r"'
  61.           RightDelimiter = '"'
  62.         end
  63.         item
  64.           FontID = 8
  65.           LeftDelimiter = 'R"'
  66.           RightDelimiter = '"'
  67.         end>
  68.       MultiLineStringDelimiters = <
  69.         item
  70.           FontID = 9
  71.           LeftDelimiter = #39#39#39
  72.           RightDelimiter = #39#39#39
  73.         end
  74.         item
  75.           FontID = 10
  76.           LeftDelimiter = '"""'
  77.           RightDelimiter = '"""'
  78.         end
  79.         item
  80.           FontID = 11
  81.           LeftDelimiter = 'r'#39#39#39
  82.           RightDelimiter = #39#39#39
  83.         end
  84.         item
  85.           FontID = 11
  86.           LeftDelimiter = 'R'#39#39#39
  87.           RightDelimiter = #39#39#39
  88.         end
  89.         item
  90.           FontID = 15
  91.           LeftDelimiter = 'r"""'
  92.           RightDelimiter = '"""'
  93.         end
  94.         item
  95.           FontID = 15
  96.           LeftDelimiter = 'R"""'
  97.           RightDelimiter = '"""'
  98.         end>
  99.       NumPrefixes = <
  100.         item
  101.           LeftDelimiter = '0x'
  102.         end
  103.         item
  104.           LeftDelimiter = '0X'
  105.         end>
  106.       NumSuffixes = <
  107.         item
  108.           LeftDelimiter = 'l'
  109.         end
  110.         item
  111.           LeftDelimiter = 'L'
  112.         end
  113.         item
  114.           LeftDelimiter = 'j'
  115.         end
  116.         item
  117.           LeftDelimiter = 'J'
  118.         end>
  119.       NumPrefixesSuffixes = <
  120.         item
  121.           LeftDelimiter = '0x'
  122.           RightDelimiter = 'l'
  123.         end
  124.         item
  125.           LeftDelimiter = '0x'
  126.           RightDelimiter = 'L'
  127.         end
  128.         item
  129.           LeftDelimiter = '0X'
  130.           RightDelimiter = 'l'
  131.         end
  132.         item
  133.           LeftDelimiter = '0X'
  134.           RightDelimiter = 'L'
  135.         end>
  136.       KeywordSets = <
  137.         item
  138.           FontID = 13
  139.           Name = 'reserved'
  140.           Keywords = 
  141.             'and,assert,break,class,continue,def,del,elif,else,except,exec,fi' +
  142.             'nally,for,from,global,if,import,in,is,lambda,not,or,pass,print,r' +
  143.             'aise,return,try,while'
  144.         end>
  145.     end>
  146.   P.FontTable = <
  147.     item
  148.       FontID = 0
  149.       GlobalAttrID = 'Whitespace'
  150.       Font.Charset = DEFAULT_CHARSET
  151.       Font.Color = clBlack
  152.       Font.Height = -13
  153.       Font.Name = 'Courier New'
  154.       Font.Style = []
  155.     end
  156.     item
  157.       FontID = 1
  158.       GlobalAttrID = 'Integer'
  159.       Font.Charset = DEFAULT_CHARSET
  160.       Font.Color = clGreen
  161.       Font.Height = -13
  162.       Font.Name = 'Courier New'
  163.       Font.Style = []
  164.     end
  165.     item
  166.       FontID = 2
  167.       GlobalAttrID = 'Float'
  168.       Font.Charset = DEFAULT_CHARSET
  169.       Font.Color = clGreen
  170.       Font.Height = -13
  171.       Font.Name = 'Courier New'
  172.       Font.Style = []
  173.     end
  174.     item
  175.       FontID = 3
  176.       GlobalAttrID = 'Integer'
  177.       Font.Charset = DEFAULT_CHARSET
  178.       Font.Color = clGreen
  179.       Font.Height = -13
  180.       Font.Name = 'Courier New'
  181.       Font.Style = []
  182.     end
  183.     item
  184.       FontID = 4
  185.       GlobalAttrID = 'Comment'
  186.       Font.Charset = DEFAULT_CHARSET
  187.       Font.Color = clGray
  188.       Font.Height = -13
  189.       Font.Name = 'Courier New'
  190.       Font.Style = [fsItalic]
  191.     end
  192.     item
  193.       FontID = 5
  194.       GlobalAttrID = 'String'
  195.       Font.Charset = DEFAULT_CHARSET
  196.       Font.Color = clMaroon
  197.       Font.Height = -13
  198.       Font.Name = 'Courier New'
  199.       Font.Style = []
  200.     end
  201.     item
  202.       FontID = 6
  203.       GlobalAttrID = 'String'
  204.       Font.Charset = DEFAULT_CHARSET
  205.       Font.Color = clMaroon
  206.       Font.Height = -13
  207.       Font.Name = 'Courier New'
  208.       Font.Style = []
  209.     end
  210.     item
  211.       FontID = 7
  212.       GlobalAttrID = 'String'
  213.       Font.Charset = DEFAULT_CHARSET
  214.       Font.Color = clMaroon
  215.       Font.Height = -13
  216.       Font.Name = 'Courier New'
  217.       Font.Style = []
  218.     end
  219.     item
  220.       FontID = 8
  221.       GlobalAttrID = 'String'
  222.       Font.Charset = DEFAULT_CHARSET
  223.       Font.Color = clMaroon
  224.       Font.Height = -13
  225.       Font.Name = 'Courier New'
  226.       Font.Style = []
  227.     end
  228.     item
  229.       FontID = 9
  230.       GlobalAttrID = 'String'
  231.       Font.Charset = DEFAULT_CHARSET
  232.       Font.Color = clMaroon
  233.       Font.Height = -13
  234.       Font.Name = 'Courier New'
  235.       Font.Style = [fsBold]
  236.     end
  237.     item
  238.       FontID = 10
  239.       GlobalAttrID = 'String'
  240.       Font.Charset = DEFAULT_CHARSET
  241.       Font.Color = clMaroon
  242.       Font.Height = -13
  243.       Font.Name = 'Courier New'
  244.       Font.Style = [fsBold]
  245.     end
  246.     item
  247.       FontID = 11
  248.       GlobalAttrID = 'String'
  249.       Font.Charset = DEFAULT_CHARSET
  250.       Font.Color = clMaroon
  251.       Font.Height = -13
  252.       Font.Name = 'Courier New'
  253.       Font.Style = [fsBold]
  254.     end
  255.     item
  256.       FontID = 15
  257.       GlobalAttrID = 'String'
  258.       Font.Charset = DEFAULT_CHARSET
  259.       Font.Color = clMaroon
  260.       Font.Height = -13
  261.       Font.Name = 'Courier New'
  262.       Font.Style = [fsBold]
  263.     end
  264.     item
  265.       FontID = 13
  266.       GlobalAttrID = 'Reserved words'
  267.       Font.Charset = DEFAULT_CHARSET
  268.       Font.Color = clBlue
  269.       Font.Height = -13
  270.       Font.Name = 'Courier New'
  271.       Font.Style = [fsBold]
  272.     end
  273.     item
  274.       FontID = 14
  275.       GlobalAttrID = 'Delimiters'
  276.       Font.Charset = DEFAULT_CHARSET
  277.       Font.Color = clBlack
  278.       Font.Height = -13
  279.       Font.Name = 'Courier New'
  280.       Font.Style = []
  281.     end>
  282.   P.SyntaxVersion = 3
  283. end
  284.